package com.net.xpay.common.manager.partner;

import com.net.xpay.common.domain.partner.PartnerSafePaySettleRecord;
import com.net.xpay.common.model.search.PartnerSafePaySettleRecordSearchModel;
import com.net.common.manager.DomainManager;

import java.util.List;


public interface PartnerSafePaySettleRecordManager extends DomainManager<Long, PartnerSafePaySettleRecord> {
    List<PartnerSafePaySettleRecord> search(PartnerSafePaySettleRecordSearchModel searchModel);

    long searchCount(PartnerSafePaySettleRecordSearchModel searchModel);

    /**
     * 查询出某合伙人所有的未结算的统计记录
     * @param partnerId 合伙人id
     * @return 统计记录
     */
    List<PartnerSafePaySettleRecord> listNoSettled(Long partnerId);

    List<PartnerSafePaySettleRecord> listByIds(List<Long> ids);
}
